package com.konne.nightmare.FastPublicOpinion.bean;

import java.io.Serializable;
import java.util.List;

public class EventBean {

    /**
     * total : 2
     * rows : [{"result":0,"start_time":"2021-11-11T16:35:40.000+08:00","event_id":2,"num":1,"end_time":"2021-11-18T17:37:53.000+08:00","event_name":"事件2","state":1},{"result":0,"start_time":"2021-11-11T17:37:52.000+08:00","event_id":1,"num":4,"end_time":"2021-11-18T17:38:13.000+08:00","event_name":"事件1","state":1}]
     * code : 200
     * msg : 查询成功
     */

    private int total;
    private int code;
    private String msg;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean implements Serializable {
        /**
         * result : 0
         * start_time : 2021-11-11T16:35:40.000+08:00
         * event_id : 2
         * num : 1
         * end_time : 2021-11-18T17:37:53.000+08:00
         * event_name : 事件2
         * state : 1
         */

        private int result;
        private String start_time;
        private int event_id;
        private int num;
        private String end_time;
        private String event_name;
        private int state;

        public int getResult() {
            return result;
        }

        public void setResult(int result) {
            this.result = result;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public int getEvent_id() {
            return event_id;
        }

        public void setEvent_id(int event_id) {
            this.event_id = event_id;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getEvent_name() {
            return event_name;
        }

        public void setEvent_name(String event_name) {
            this.event_name = event_name;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }
    }
}
